<?php
  class AdminbarAction extends BaseAction
  {
      public function executeShow()
      {
          
          $this->setContent('adminbar/Adminbar.tpl');
      }   
      
      public function executeEditLink()
      {   
          $temp = scandir( ROOT_PATH. 'modules/');
          foreach($temp as $val)
          {
              if($val != '.' && $val != '..' && $val != '.svn' && $val != 'Adminbar')
              $modules[] =  $val;
          }
          core::$tpl->assign('modules', $modules);
          $this->setContent('adminbar/EditLink.tpl');
      }
  }
?>
